package cn.tedu.live8.mapper;

import cn.tedu.live8.entity.Lbt;
import cn.tedu.live8.entity.LbtVO;
import cn.tedu.live8.entity.TpVO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface IndexMapper {
    @Select("select url,sort from index_banner")
    List<LbtVO> select();
    @Insert("insert into index_banner values(null,#{url},null,null,null)")
    void insert(String url);


}
